/*
 * @Author: heyang
 * @Date: 2024-12-31 15:49:19
 * @LastEditors: heyang
 * @LastEditTime: 2024-12-31 16:46:39
 * @FilePath: \pure-admin-thin\src\router\modules\flowMgmt.ts
 * @Description:
 *
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved.
 */
const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/",
  name: "Flow",
  component: Layout,
  redirect: "/flow-mgmt",
  meta: {
    icon: "ri:flow-chart",
    title: "工程流程配置",
    rank: 2
  },
  children: [
    {
      path: "/flow-mgmt",
      name: "Flows",
      component: () => import("@/views/flow-chart/index.vue"),
      meta: {
        title: "工程流程配置",
        showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    }
  ]
} satisfies RouteConfigsTable;
